package com.gxuwz.attend.service.admin;

import com.gxuwz.attend.dao.admin.AdminDao;
import com.gxuwz.attend.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {
    @Autowired
    private  AdminDao adminDao;


    public boolean updateAdminInfo(Admin admin) {
        int rs = adminDao.updateAdmin(admin);
        if (rs!=0){
            return true;
        }else {
            return false;
        }
    }
}
